package example4;


public class ProxyDemo {
	public static void main(String[] args) {
		CglibProxy cglibProxy = new CglibProxy();
		HelloSpeaker helloSpeaker = (HelloSpeaker) cglibProxy.getProxy(HelloSpeaker.class);

		helloSpeaker.hello("zhangsan");
		//helloSpeaker.hello2("lisi");
		//helloSpeaker.hello3("wangwu");
	}
}
